package com.eastfair.venuebooking.api;

import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.ExhibitionManageDTO;
import com.eastfair.venueservice.dto.ServiceProviderSpaceDTO;
import com.eastfair.venueservice.dto.ServiceProviderSpaceQuery;
import com.eastfair.venueservice.vo.ServiceProviderSpaceVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 展会服务商展厅关系Feign
 * @author linan
 */
@FeignClient(value = "venue-services-manage/serviceProviderSpace")
public interface ServiceProviderSpaceFeign {

    /**
     * 查询服务商使用展厅
     *
     * @param serviceProviderSpaceQuery 查询服务商使用展厅
     * @return R
     */
    @ApiOperation(value = "查询服务商使用展厅", notes = "查询服务商使用展厅")
    @PostMapping("/queryServiceProviderSpace")
    R<List<ServiceProviderSpaceVO>> queryServiceProviderSpace(@RequestBody ServiceProviderSpaceQuery serviceProviderSpaceQuery);

}
